package cfdt.ldl.web.controller;

import cfdt.common.vo.ObjectBaseResponse;
import cfdt.ldl.web.api.request.GetLawyerInfoListWebRequest;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试使用的Controller
 *
 * <pre>
 * Modify Information:
 * Author       Date          Description
 * ============ ============= ============================
 * wangxiao      2021年8月11日上午11:43:39      创建Controller
 *
 * </pre>
 */
@RestController
@RequestMapping("/test")
public class TestWebController {


    /**
     * 根据ID获取律师信息
     *
     * @param request
     * @return
     */
    @SuppressWarnings("rawtypes")
    @GetMapping("/get")
    @ResponseBody
    public ObjectBaseResponse get(@RequestBody GetLawyerInfoListWebRequest request) {
        System.out.println("进入了get方法");
        return new ObjectBaseResponse();
    }

}
